package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author luo
 * @since 2023-07-10
 */
@Getter
@Setter
  @TableName("sys_file")
public class Files implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 文件名称
     */
      private String name;

      /**
     * 文件类型
     */
      private String type;

      /**
     * 文件大小
     */
      private Long size;

      /**
     * 下载链接
     */
      private String url;

      private String md5;

      /**
     * 是否删除
     */

      @TableLogic(value = "0", delval = "1")
      private Boolean isDelete;

      /**
     * 是否禁用链接
     */

      private Boolean enable;
}
